const routes = [
  {
    path: "/",
    redirect: "/school",
  },
  {
    path: "/index",
    component: () => import("@/view/index"),
  },
  {
    path: "/login",
    component: () => import("@/view/login"),
  },
  {
    path: "/school",
    component: () => import("@/view/school"),
  },
  {
    path: "/class",
    component: () => import("@/view/class"),
  },
  {
    path: "/course",
    component: () => import("@/view/course"),
  },
  {
    path: "/equipment",
    component: () => import("@/view/equipment"),
  },
  {
    path: "/performance",
    component: () => import("@/view/performance"),
  },
  {
    path: "/mine",
    component: () => import("@/view/mine"),
  },
  {
    path: "/reportCard",
    component: () => import("@/view/reportCard"),
  },
  {
    path: "/expense",
    component: () => import("@/view/expense"),
  },
  {
    path: "/leave",
    component: () => import("@/view/leave"),
  },
  {
    path: "/word",
    component: () => import("@/view/word"),
  },
  {
    path: "/attendance",
    component: () => import("@/view/attendance"),
  },
  {
    path: "/teacher",
    component: () => import("@/view/teacher"),
  },
];

export default routes;
